package com.whg.demo.model;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

/**
 * @Author whg
 * @create 2022/12/13 14:45
 * @description：
 */
@Data
@Document(indexName = "blog",type = "article")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    private long id;

    private String title;

    private String summary;

    private int pv;
}
